package com.example.wexcle.demos.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan("com.example.wexcle.demos.web.mapper")
@SpringBootApplication
@EnableDiscoveryClient//nacos注册
@EnableFeignClients//服务消费者上才有此注解
public class WExcleApplication {

    public static void main(String[] args) {
        SpringApplication.run(WExcleApplication.class, args);
    }

}
